<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">快递公司:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[express_id]" class="form-control selectpicker" required data-live-search="true" >
                <?php if (!empty($express) && is_array($express)): ?>
                <?php foreach ($express as $item): ?>
                <option value="<?= htmlspecialchars($item['id']) ?>">
                    <?= htmlspecialchars($item['express_name']) ?>
                </option>
                <?php endforeach; ?>
                <?php else: ?>
                <option value="">没有可选项</option>
                <?php endif; ?>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">物流单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-express_no" data-rule="required" class="form-control" step="0.01" name="row[express_no]" type="text" value="{$row.express_no|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
